package com.wangyadong.hobby.front.model;

import com.wangyadong.hobby.excel.export.demo.ExcelExportDemo;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @ClassName WemailRecord
 * @Description TODO
 * @Authpr Antonio
 * @Data 2018-07-15 10:25
 */
public class WemailRecord implements Serializable {
    private Long id;
    private String userName;
    private String email;
    private int status;
    private int eType;
    private String fromEmail;
    private Date createDate;

    private WuserInfo wuserInfo;
    private ExcelExportDemo demo;

    public void setDemo(ExcelExportDemo demo) {
        this.demo = demo;
    }

    public WemailRecord() {
    }

    public WemailRecord(WuserInfo wuserInfo) {
        this.wuserInfo = wuserInfo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getType() {
        return eType;
    }

    public void setType(int eType) {
        this.eType = eType;
    }

    public String getFromEmail() {
        return fromEmail;
    }

    public void setFromEmail(String fromEmail) {
        this.fromEmail = fromEmail;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
